<template>
	<view class="p-3">
		<view v-if="dataList.length > 0">
			<view class="bt-block px24py30 mb-3" v-for="item,idx in dataList" :key="idx">
				<bg-desc label="提现金额" :value="item.amount" :valueStyle="{color:'#ee3636'}"></bg-desc>
				<bg-desc label="提现时间" :value="item.operationTime"></bg-desc>
			</view>
		</view>
		<u-empty v-else></u-empty>
	</view>
</template>

<script>
	import { historyWallet } from '../../../api/mine'
	export default {
		data() {
			return {
				dataList:[],
				params:{
					pageNum:1,
					pageSize:100
				}
			}
		},
		mounted() {
			this.getData()
		},
		methods: {
			getData(){
				historyWallet().then(res=>{
					this.dataList = res.data.rows
				})
			}
		}
	}
</script>

<style>

</style>
